<h4 style="text-align: center">积分明细</h4>
<div class="weui-flex" style="text-align: center">

    <div class="weui-flex__item">日期</div>
    <div class="weui-flex__item">描述</div>
    <div class="weui-flex__item">积分</div>
</div>
<?php foreach ($logs as $log){?>
    <div class="weui-flex" style="text-align: center">

        <div class="weui-flex__item"><?=date("H-m-d",$log['create_time'])?></div>
        <div class="weui-flex__item"><?=$log['des']?></div>
        <div class="weui-flex__item"><?=$log['type']==1?"蓝":"绿"?>积分<?=$log['score']?></div>
    </div>
<?php }?>